<%--
  Created by IntelliJ IDEA.
  User: 吴慧跃
  Date: 2022/5/16
  Time: 11:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>登录</title>
    <link href="/static/css/bootstrap.css" rel="stylesheet">
    <script type="text/javascript" src="/static/js/jquery-3.2.1.js"></script>
    <script src="/static/js/echarts.js"></script>
</head>
<body>
<div class="container" style="text-align: center">
    <form:form modelAttribute="user" action="/user/login" method="post">
        用户名：<form:input path="uname"/><form:errors path="uname" cssClass="text-danger"/><br>
        密码：<form:input path="upass"/><form:errors path="upass" cssClass="text-danger"/><br>
        <input type="submit" value="登录">
        <div>
            <a href="https://gitee.com/oauth/authorize?client_id=dd05f42c61ee4e695b1d54c77437ea15cbe7c1b024d758036147a64cd4218415&redirect_uri=http://localhost:8080/user/auth&response_type=code">第三方登录</a>
        </div>
    </form:form>
</div>
</body>
</html>
